home *** CD-ROM | disk | FTP | other *** search
- 65
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- MsgBoxEx
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baMsgBoxEx displays a custom MessageBox
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baMsgBoxEx( Message, Caption, Button1, Button2, Button3, Icon,
- --- RECORDSEPARATOR ---
- DefButton, Alignment, FontName, FontSize, FontWeight, xPos, yPos )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, string, string, string, string, string, integer, string, string, integer, integer,
- --- RECORDSEPARATOR ---
- integer, integer.
- --- RECORDSEPARATOR ---
- Message is the message to display. This can contain more than one line
- --- RECORDSEPARATOR ---
- Caption is the caption to show in the Title bar
- --- RECORDSEPARATOR ---
- Button1 is the caption of the first button
- --- RECORDSEPARATOR ---
- Button2 is the caption of the second button
- --- RECORDSEPARATOR ---
- Button3 is the caption of the third button
- --- RECORDSEPARATOR ---
- Icon is the type of icon to display. This can be one of the following:
- --- RECORDSEPARATOR ---
- "Stop"
- --- RECORDSEPARATOR ---
- "Information"
- --- RECORDSEPARATOR ---
- "Question"
- --- RECORDSEPARATOR ---
- "Exclamation"
- --- RECORDSEPARATOR ---
- "NoIcon"
- --- RECORDSEPARATOR ---
- DefButton is the number of the default (selected) button. Can be 1, 2, or 3
- --- RECORDSEPARATOR ---
- depending on the number of buttons. The button on the left hand side is 1.
- --- RECORDSEPARATOR ---
- Alignment is the alignment of the message text. Can be:
- --- RECORDSEPARATOR ---
- "left"
- --- RECORDSEPARATOR ---
- "center"
- --- RECORDSEPARATOR ---
- "right"
- --- RECORDSEPARATOR ---
- FontName is the name of the font to use
- --- RECORDSEPARATOR ---
- FontSize is the size of the font
- --- RECORDSEPARATOR ---
- FontWeight is the weight of the font, from 1 - 9
- --- RECORDSEPARATOR ---
- xPos is the horizontal position of the dialog
- --- RECORDSEPARATOR ---
- yPos is the vertical position of the dialog
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns the text of the button clicked eg "OK" or "Ignore".
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set Answer = baMsgBoxEx( "How are you feeling?", "Online Doctor" , "Great", "Just
- --- RECORDSEPARATOR ---
- OK", "Lousy", "Question" , 1 , "center", "Arial", 12, 4, 100, 100 )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- Answer := baMsgBoxEx( "How are you feeling?", "Online Doctor" , "Great", "Just
- --- RECORDSEPARATOR ---
- OK", "Lousy", "Question" , 1 , "center", "Arial", 12, 4, 100, 100 )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- If you do not want to show all buttons, then make the button text for the button you
- --- RECORDSEPARATOR ---
- don't want to appear an empty string. On
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- , you can add a keyboard
- --- RECORDSEPARATOR ---
- shortcut to a button by placing a & in front of the letter you want it to use. eg
- --- RECORDSEPARATOR ---
- "&Later". Under
- --- RECORDSEPARATOR ---
- Mac
- --- RECORDSEPARATOR ---
- , you can not assign a keyboard shortcut. The size of the
- --- RECORDSEPARATOR ---
- buttons does not change - you are limited to about 12 characters for the buttons.
- --- RECORDSEPARATOR ---
- The font weight is in a range from 1 - 9; 4 is normal, 7 is bold. Not all fonts have all
- --- RECORDSEPARATOR ---
- weights. Use 0 if you want to use the standard weight of the font. Under
- --- RECORDSEPARATOR ---
- Mac
- --- RECORDSEPARATOR ---
- , any
- --- RECORDSEPARATOR ---
- number greater than 5 will be bold.
- --- RECORDSEPARATOR ---
- The values of the xPos and yPos are relative to the screen. Use -1 to center the
- --- RECORDSEPARATOR ---
- dialog on the screen, -2 to center on the Director/Authorware window.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baMsgBox